package com.china08.yxyapi.entity.db.meeting;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;

import com.china08.yxyapi.entity.BaseEntity;

/**
 * 直播课程--邀请参与人员</br>
 * 邀请本校的人员时,在此表中产生数据
 * 
 * @author Richard.Wang
 *
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "yxy_video_meeting_invite_user", catalog = "yxy_yxy", uniqueConstraints = {
        @UniqueConstraint(columnNames = { "meeting_id", "school_id", "user_id" }) })
public class VideoMeetingInviteUser extends BaseEntity {

    @Column(name = "meeting_id", columnDefinition = "varchar(32) comment '房间ID,14位的数字' ")
    private String meetingId;

    @Column(name = "school_id", columnDefinition = "varchar(32) comment '学校id' ")
    private String schoolId;

    @Column(name = "user_id", columnDefinition = "varchar(32) comment '参与人id,0的情况填写用户id' ")
    private String userId;

    @Column(name = "user_nick", columnDefinition = "varchar(255) comment '参与人名称,0的情况填写用户名称' ")
    private String userNick;

    public String getMeetingId() {
        return meetingId;
    }

    public void setMeetingId(String meetingId) {
        this.meetingId = meetingId;
    }

    public String getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(String schoolId) {
        this.schoolId = schoolId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserNick() {
        return userNick;
    }

    public void setUserNick(String userNick) {
        this.userNick = userNick;
    }

}
